﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Manager
{
    public class ManagerModifyArguments : DBArguments
    {
        public int n4ManagerSN
        {
            get { return Convert.ToInt32(GetValue("n4ManagerSN", 0)); }
            set { SetValue("n4ManagerSN", value); }
        }

        public string strManagerID
        {
            get { return Convert.ToString(GetValue("strManagerID", string.Empty)); }
            set { SetValue("strManagerID", value); }
        }

        public string strManagerPasshash
        {
            get { return Convert.ToString(GetValue("strManagerPasshash", string.Empty)); }
            set { SetValue("strManagerPasshash", value); }
        }

        public string strManagerName
        {
            get { return Convert.ToString(GetValue("strManagerName", string.Empty)); }
            set { SetValue("strManagerName", value); }
        }

		public byte IsManager
		{
			get { return GetValue2("isManager", (byte)0); }
			set { SetValue("isManager", value); }
		}
    }
}